[INFO] cloning repository https://github.com/KFTamang/rv-emu
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KFTamang/rv-emu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKFTamang%2Frv-emu", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKFTamang%2Frv-emu'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1302f5d8f595aaf12089e494af0593742dd46996
[INFO] checking KFTamang/rv-emu against try#e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e for pr-101680
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKFTamang%2Frv-emu" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/KFTamang/rv-emu on toolchain e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/KFTamang/rv-emu
[INFO] finished tweaking git repo https://github.com/KFTamang/rv-emu
[INFO] tweaked toml for git repo https://github.com/KFTamang/rv-emu written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/KFTamang/rv-emu already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0dc90b7a659c748aea77498640d232bf2b166f69e0a74a05de641a208e9d64eb
[INFO] running `Command { std: "docker" "start" "-a" "0dc90b7a659c748aea77498640d232bf2b166f69e0a74a05de641a208e9d64eb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0dc90b7a659c748aea77498640d232bf2b166f69e0a74a05de641a208e9d64eb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0dc90b7a659c748aea77498640d232bf2b166f69e0a74a05de641a208e9d64eb", kill_on_drop: false }`
[INFO] [stdout] 0dc90b7a659c748aea77498640d232bf2b166f69e0a74a05de641a208e9d64eb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bff56c470de5ff2bb1ad690983b8e5bdb898c8caaa3c8da27d0ad9e2e6eca7a8
[INFO] running `Command { std: "docker" "start" "-a" "bff56c470de5ff2bb1ad690983b8e5bdb898c8caaa3c8da27d0ad9e2e6eca7a8", kill_on_drop: false }`
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling proc-macro2 v1.0.39
[INFO] [stderr]    Compiling unicode-ident v1.0.0
[INFO] [stderr]    Compiling syn v1.0.95
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]     Checking os_str_bytes v6.1.0
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]     Checking textwrap v0.15.0
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking strsim v0.10.0
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking clap_lex v0.2.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling indexmap v1.8.2
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]    Compiling clap_derive v3.1.18
[INFO] [stderr]     Checking clap v3.1.18
[INFO] [stderr]     Checking rv-emu v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find value `MPP` in this scope
[INFO] [stdout]   --> src/interrupt.rs:73:36
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 cpu.csr.store_csrs(MPP, cpu.mode);
[INFO] [stdout]    |                                    ^^^ help: a constant with a similar name exists: `MIP`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/csr.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub const MIP: usize = 0x344;
[INFO] [stdout]    | ----------------------------- similarly named constant `MIP` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/csr.rs:51:20
[INFO] [stdout]    |
[INFO] [stdout] 51 |         current &= ((val & 0x3) << 11);
[INFO] [stdout]    |                    ^                 ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 51 -         current &= ((val & 0x3) << 11);
[INFO] [stdout] 51 +         current &= (val & 0x3) << 11;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MPP` in this scope
[INFO] [stdout]   --> src/interrupt.rs:73:36
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 cpu.csr.store_csrs(MPP, cpu.mode);
[INFO] [stdout]    |                                    ^^^ help: a constant with a similar name exists: `MIP`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/csr.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub const MIP: usize = 0x344;
[INFO] [stdout]    | ----------------------------- similarly named constant `MIP` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/csr.rs:51:20
[INFO] [stdout]    |
[INFO] [stdout] 51 |         current &= ((val & 0x3) << 11);
[INFO] [stdout]    |                    ^                 ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 51 -         current &= ((val & 0x3) << 11);
[INFO] [stdout] 51 +         current &= (val & 0x3) << 11;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/interrupt.rs:73:41
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 cpu.csr.store_csrs(MPP, cpu.mode);
[INFO] [stdout]    |                         ----------      ^^^^^^^^ expected `u64`, found `u32`
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/csr.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn store_csrs(&mut self, addr: usize, val: u64) {
[INFO] [stdout]    |            ^^^^^^^^^^                         --------
[INFO] [stdout] help: you can convert a `u32` to a `u64`
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 cpu.csr.store_csrs(MPP, cpu.mode.into());
[INFO] [stdout]    |                                                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/interrupt.rs:73:41
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 cpu.csr.store_csrs(MPP, cpu.mode);
[INFO] [stdout]    |                         ----------      ^^^^^^^^ expected `u64`, found `u32`
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/csr.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn store_csrs(&mut self, addr: usize, val: u64) {
[INFO] [stdout]    |            ^^^^^^^^^^                         --------
[INFO] [stdout] help: you can convert a `u32` to a `u64`
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 cpu.csr.store_csrs(MPP, cpu.mode.into());
[INFO] [stdout]    |                                                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rv-emu` due to 3 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rv-emu` due to 3 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "bff56c470de5ff2bb1ad690983b8e5bdb898c8caaa3c8da27d0ad9e2e6eca7a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bff56c470de5ff2bb1ad690983b8e5bdb898c8caaa3c8da27d0ad9e2e6eca7a8", kill_on_drop: false }`
[INFO] [stdout] bff56c470de5ff2bb1ad690983b8e5bdb898c8caaa3c8da27d0ad9e2e6eca7a8
